import {Button, message} from 'antd';
import PropTypes from 'prop-types';
function Start({ onClick, onStart, onImportProject }) {
    
    return (
        <div className='w-screen flex justify-center flex-col gap-y-2'>
            <Button type="primary" onClick={onStart}>立即开始做图</Button>
            <Button type="primary" onClick={onImportProject}>导入已有qtu项目</Button>
            <Button type="primary" onClick={() => message.warning('施工重地，请勿入内')}>上传已有图片文件进行编辑</Button>
        </div>
    )
}
Start.propTypes= {
    onClick: PropTypes.func
}

export default Start